package com.jiutian.hotel.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="hotelcomment")
public class HotelCommentData {
    private long commentid;
    private String hotelid;
    private String commenttype;
    private String comment;
    private String userid;
    private String customername;

    @Id
    @Column(name="commentid")
	public long getCommentid() {
		return this.commentid;
	}

	public void setCommentid(long commentid) {
		this.commentid = commentid;
	}

	@Column(name="hotelid")
	public String getHotelid() {
		return this.hotelid;
	}

	public void setHotelid(String hotelid) {
		this.hotelid = hotelid;
	}

	@Column(name="commenttype")
    public String getCommenttype() {
        return this.commenttype;
    }

    public void setCommenttype(String commenttype) {
        this.commenttype = commenttype;
    }
	
	@Column(name="comment")
	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	@Column(name="userid")
	public String getUserid() {
		return this.userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	@Column(name="customername")
	public String getCustomername() {
		return this.customername;
	}

	public void setCustomername(String customername) {
		this.customername = customername;
	}
}
